var DESIGN_FPS = 60;

var apiInstance;
var splashScreenData;
var needTutorial = true;
var needScrollMap = true;
var needShowSplash = true;
var needMusic = true;
var needApi = true;
var needLockLevels = true;
var needMoreGames = true;
var needCross = true;
var testPoint = new createjs.Point(0, 0);
var textSize = new createjs.Point;
var spriteSheetInfo;



var __extends = this.__extends || function (e, t) {
    function r() {
        this.constructor = e;
    }
    for (var n in t)
        if (t.hasOwnProperty(n))
            e[n] = t[n];
    r.prototype = t.prototype;
    e.prototype = new r;
};



var BlockType;
(function (e) {
    e[e["kFullBlockType"] = 0] = "kFullBlockType";
    e[e["kSingleBlockType"] = 1] = "kSingleBlockType";
    e[e["kDoubleBlockType"] = 2] = "kDoubleBlockType";
    e[e["kTripleBlockType"] = 3] = "kTripleBlockType";
    e[e["kColorBlock"] = 4] = "kColorBlock";
    e[e["kBombBlock"] = 5] = "kBombBlock";
    e[e["kWaterBomb"] = 6] = "kWaterBomb";
    e[e["kPlantBomb"] = 7] = "kPlantBomb";
})(BlockType || (BlockType = {}));
var ActionType;
(function (e) {
    e[e["ACTION_STOP"] = 0] = "ACTION_STOP";
    e[e["ACTION_GOTO_AND_PLAY"] = 1] = "ACTION_GOTO_AND_PLAY";
    e[e["ACTION_GOTO_AND_STOP"] = 2] = "ACTION_GOTO_AND_STOP";
})(ActionType || (ActionType = {}));
var FieldBonusType;
(function (e) {
    e[e["kBonusNone"] = 0] = "kBonusNone";
    e[e["kHorizontalLize"] = 1] = "kHorizontalLize";
    e[e["kVerticalLine"] = 2] = "kVerticalLine";
    e[e["kBombBonus"] = 3] = "kBombBonus";
    e[e["kColorBonus"] = 4] = "kColorBonus";
    e[e["kCrossBonus"] = 5] = "kCrossBonus";
    e[e["kThickCrossBonus"] = 6] = "kThickCrossBonus";
    e[e["kLargeBombBonus"] = 7] = "kLargeBombBonus";
    e[e["kColorLineBonus"] = 8] = "kColorLineBonus";
    e[e["kColorBombBonus"] = 9] = "kColorBombBonus";
    e[e["kColorColorBonus"] = 10] = "kColorColorBonus";
})(FieldBonusType || (FieldBonusType = {}));